package com.woniu.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class DynamicDetail implements Serializable {
    private DynamicPost dynamicPost;
    private List<DynamicCommentDto> dynamicCommentDtos;

    public DynamicDetail() {
    }

    public DynamicDetail(DynamicPost dynamicPost, List<DynamicCommentDto> dynamicCommentDtos) {
        this.dynamicPost = dynamicPost;
        this.dynamicCommentDtos = dynamicCommentDtos;
    }
}
